import React, { Component } from 'react';
import {Outlet ,NavLink} from 'react-router-dom'
import './index.css'
class Index extends Component {
    render() {
        return (
            <div>
                {/* 路由导航 */}
                <NavLink to="/music/news">最新音乐</NavLink>
                <NavLink to="/music/hot">热门音乐</NavLink>
                <Outlet></Outlet>
            </div>
        );
    }
}

export default Index;
